﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Scheduling.Models.Interfaces
{
    public interface ICourseInstanceLoader
    {
        bool CourseInstanceExists(int CourseInstanceID);

        List<CourseInstance> GetCourseInstances();

        CourseInstance GetCourseInstance(int CourseInstanceID);

        List<CourseInstance> GetCourseInstancesByCourseID(string SearchCourseID);

        List<CourseInstance> GetCourseInstancesByQuery(string Query, int MaxYear = 1970, int MinYear = 2100, int Limit = 10);
    }
}